473,424 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,424 software developers and data experts.

Error refreshing a web page

Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!

Jul 18 '07 #1
3 22054
this is browser normal behavior. if the current page is a result of a
postback (button clicked rather than a hyperlink), then to do a refresh
the browser needs to post the data again (rerunning the page logic).
because so many sites failed to handle this on their purchase page, the
browsers had to add this message to prevent double buys.
-- bruce (sqlwork.com)
gozer61 wrote:
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!
Jul 18 '07 #2
since my work has nothing to do with commerce, how do i suppress the
behavior? what is the behind-the-covers mechanism that is invoking it so
that i can figure out why and how it's doing what it does?

i think it's odd to say the least that a simple post-back procedure causes a
browser to pop up such a specific message, especially if the browser cannot
have any knowledge that the user is actually performing a commercial
transactions of some sort.

i've been working through asp.net 2.0 examples with post-back functions for
several weeks, and this is the first time i've seen the behavior. this leads
me to think that it's not normal. has IE been changed recently to add this
popup?

james

"bruce barker" wrote:
this is browser normal behavior. if the current page is a result of a
postback (button clicked rather than a hyperlink), then to do a refresh
the browser needs to post the data again (rerunning the page logic).
because so many sites failed to handle this on their purchase page, the
browsers had to add this message to prevent double buys.
-- bruce (sqlwork.com)
gozer61 wrote:
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!
Jul 19 '07 #3
Browser displays that message only if page is result of submitting form with
method POST. Which is how any buttom works in .NET
you can get away with that if any action (i.e. button click) you will end
with Response.Redirect somewere. Then it will me method "GET".

George.

"gozer61" <go*****@discussions.microsoft.comwrote in message
news:2D**********************************@microsof t.com...
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage
again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that
Orcas
added for me.

What is going on? I suspect that this error isn't real. When this
warning
dialog pops up, what information is IE trying to send to the server that
it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last
page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!

Jul 19 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard...
1
by: sentinel | last post by:
Hello, I'm having problems refreshing a main window, and am not sure really whether the solution will be Javascript or PHP related. Firstly, I have a main file that calls a pop-up box which...
60
by: A.Translator | last post by:
I have been struggling with a page that is based on a table structure (because that is all I am feeling comfortable with at the moment) styled with css. One of the problems I run in to is Opera...
4
by: Peter Row | last post by:
Hi, I have created a UserControl which is subsequently hosted on a standard form. My control has a TabControl on it but it has no TabPages configured. At runtime I create X pages and put a...
2
by: jdi | last post by:
Hello, I have a seemingly basic question about ASP.NET. I would like to create a page containing an image, which keeps swapping the url of the image source, without refreshing the entire page. ...
5
by: Jensen Bredal | last post by:
Hello, I need to display self refreshing information on a web page written with asp.net. I would image that the info would be displayed either as part of a user control or a web control. How can...
2
by: Ben | last post by:
Hi, One ASP.NET transactional page conducts a long transaction in a button click function. I want to display the transaction progress info in label control without refreshing page. It is...
4
by: Dan | last post by:
Hi, i'm not sure to understand the difference between refreshing the pagina by clicking on 'refresh' in the browser and a postback. What i think it is: Suppose a page with a form containing a...
13
by: honey99 | last post by:
Hi! I have to fix a problem in JSP.Actually,i have a JSP page say Ex1.jsp.In this Ex1.jsp i have an anchor tag which links into another JSP page i.e when i click on the link another pop-up window...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.